#ifndef __HAL__
#define __HAL__

int MPUWriteReg(char ad,char RegAddr, char pucDATD_AA);
int MPUWriteAddr();
char MPUReadReg(char ad,int unAddr/*, int unLength*/);
int MPUReadBuf(char slaveAddress,int unAddr, char *pucDATD_AA, int unLength);
void MpuGetData(void); //读取陀螺仪数据加滤波

#endif